package io.renren.modules.work.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;
import io.renren.modules.sys.entity.SysUserEntity;
import io.renren.modules.work.entity.ScProjectEntity;
import io.renren.vo.ScProjectEntityVo;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 工程
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-03-24 23:31:29
 */
public interface ScProjectService extends IService<ScProjectEntity> {

    PageUtils queryPage(Map<String, Object> params);

    ScProjectEntity saveProject(ScProjectEntity scProjectEntity);


    R commitProject(String params, SysUserEntity user);

    R updateProject(String params);

    /**
     * 验收确认
     * @param projectdtlids
     * @return
     */
    R chkProject(String[] projectdtlids);

    /**
     * 完工
     * @param projectids
     * @return
     */
    R finishProject(String[] projectids);


    PageUtils queryPage2(Map<String, Object> params);

    R getAllShipSideNo(String shipSideNo);

    R outConfirm(String consumablesid);
}

